﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin.master" AutoEventWireup="true" CodeFile="ViewFeedback.aspx.cs" Inherits="ViewFeedback" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="Css/viewFeedback.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="title_feedback">Table FeedBack</div>
    <div id="content">
        <div id="notification"><%=notification %></div>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" OnPageIndexChanging="GridView1_PageIndexChanging" Width="850px" DataKeyNames="feedbackId" OnRowDeleting="GridView1_RowDeleting">
            <Columns>
                <asp:BoundField DataField="feedbackId" HeaderText="Feedback ID" />
                <asp:BoundField DataField="customerId" HeaderText="Customer ID" />
                <asp:BoundField DataField="name" HeaderText="Customer Name" />
                <asp:BoundField DataField="email" HeaderText="Email" />
                <%--<asp:BoundField DataField="content" HeaderText="Content" />--%>
                <asp:TemplateField HeaderText="Content">
                    <ItemTemplate>
                        <asp:TextBox ID="TextBox1" TextMode="MultiLine" ReadOnly="true" Text='<%#Eval("content") %>' Width="300px" Height="50px" runat="server"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:CommandField ButtonType="Button" ShowDeleteButton="True">
                <ControlStyle BackColor="#FF6600" ForeColor="White" />
                </asp:CommandField>
            </Columns>
            <FooterStyle BackColor="White" ForeColor="#000066" />
            <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
            <RowStyle ForeColor="#000066" />
            <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#007DBB" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#00547E" />
        </asp:GridView>

    </div>
</asp:Content>

